/**
 * 业务模块接口
 */
const bus = {
  status: {
    onLineStatus: [{ label: "未上架", value: 0 }, { label: "已上架", value: 1 }]
  },
  demand: {
    page: "demand/pageList",
    setOnLineState: "demand/setOnLineState",
    remove: "demand/remove",
    detail: "demand/get"
  },
  purchase: {
    page: "purchase/pageList",
    setOnLineState: "purchase/setOnLineState",
    commonGet: "purchase/get",
    remove: "purchase/remove"
  },
  quotation: {
    page: "quotation/pageList",
    detail: "quotation/get"
  },
  busCommon: {
    fastMailNames: [{ label: "百世快递", value: '百世快递' }, { label: "中通快递", value: '中通快递' }, { label: "顺丰快递", value: '顺丰快递' }, { label: "邮政快递", value: '邮政快递' }],
    refundState: [{ label: "未返款", value: 0 }, { label: "已开票", value: 1 }, { label: "已返款", value: 2 }],
    invoiceSendType: [{ label: "单独邮寄", value: 2 },{ label: "货票同行", value: 1 }],
    invoiceState: [{ label: "可开票", value: 1 }, { label: "暂不开票", value: 0 }],
    invoiceType: [{ label: "普票", value: 1 }, { label: "专票", value: 2 }],
    priceType: [{ label: "自定义", value: 1 }, { label: "同成本价", value: 2 }],
    deptType: [{ label: "招商", value: "ZS" }, { label: "自营", value: "ZY" }],
    proLevel: [{ label: "是", value:1}, { label: "否", value: 0}],
    drugType: [{ label: "招商", value: "ZS" }, { label: "自营", value: "ZY" }],
    takeAmountType: [{ label: "实时转账", value: 1 }, { label: "余额抵扣", value: 2 }],
    returnAmountType: [{ label: "银行流水", value: 1 }, { label: "认款记录", value: 2 }],
    remitType: [ { label: "电汇", value: 2 }, { label: "承兑", value: 3 }],
    amountType: [ { label: "现款", value: "OrderAmount" }, { label: "资保金", value: "CustomBond" }, { label: "预收款", value: "YfkAmount" }],
    sendType: [{ label: "现款", value: 1 }, { label: "预收款", value: 2 }, { label: "资保金", value: 3 }, { label: "全额资信", value: 4 }],
    customBondType: [{ label: "底价", value: 1 }, { label: "高开税金", value: 2 }, { label: "底价+高开税金", value: 3 }, { label: "全款", value: 4 }],
    baopiaoType: [{ label: "是", value: 1 }, { label: "否", value: 0 }],
    settleType: [{ label: "渠道商", value: 1 }, { label: "商务经理", value: 2 }, { label: "片区服务商", value: 3 }, { label: "商务总负责人", value: 4 }],
    floorPriceType: [ { label: "按成本价", value: 2 },{ label: "按结算价", value: 1 }],
    settleRuleType: [{ label: "回款后结算", value: 1 }, { label: "未回款结算", value: 0 }],
    settleAmountType: [{ label: "按结算价", value: 1 }, { label: "佣金制", value: 2 }]
  },
  paymentType: {
    page: "bus/paymentType/page",
    list: "bus/paymentType/list",
    get: "bus/paymentType/get",
    add: "bus/paymentType/save",
    update: "bus/paymentType/update",
    setDeptState: "bus/paymentType/setDeptState",
    remove: "bus/paymentType/remove"
  },
  
}
export default bus